from flask import Flask

from cal.cal import cal_blueprint
from tq.tq_api import tq_blueprint

app = Flask(__name__)

# 注册蓝图
app.register_blueprint(tq_blueprint, url_prefix='/python/tq')
app.register_blueprint(cal_blueprint, url_prefix='/python/cal')

# 其他配置和路由...

if __name__ == '__main__':
    app.run(debug=True)
